import request from '@/utils/request'

// 查询园区系统列表
export function listReg(query) {
  return request({
    url: '/business/reg/list',
    method: 'get',
    params: query
  })
}

// 查询园区系统详细
export function getReg(uuid) {
  return request({
    url: '/business/reg/' + uuid,
    method: 'get'
  })
}

// 新增园区系统
export function addReg(data) {
  return request({
    url: '/business/reg',
    method: 'post',
    data: data
  })
}

// 修改园区系统
export function updateReg(data) {
  return request({
    url: '/business/reg',
    method: 'put',
    data: data
  })
}

// 删除园区系统
export function delReg(uuid) {
  return request({
    url: '/business/reg/' + uuid,
    method: 'delete'
  })
}
